package com.yunxin.core.application.dto.channel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Data
@Schema(description = "分页渠道列表对象")
public class ChannelPageDTO implements Serializable {

    /**
     * id
     */
    @Schema(description = "id")
    private Long id;
    /**
     * 渠道名称
     */
    @Schema(description = "渠道名称")
    private String channelName;
    /**
     * 渠道code
     */
    @Schema(description = "渠道code")
    private String channelCode;
    /**
     * 渠道类型id
     */
    @Schema(description = "渠道类型id")
    private Long channelTypeId;
    /**
     * 渠道类型名称
     */
    @Schema(description = "渠道类型名称")
    private String channelTypeName;
    /**
     * 付款账户
     */
    @Schema(description = "付款账户")
    private String paymentAccount;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
